<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Legends.ascx.cs" Inherits="MyCustomModules_Legends" %>

<portal:HeadingControl ID="heading" runat="server" Text="Legends" />

<asp:GridView ID="grdLegends" runat="server" AutoGenerateColumns="false" CellPadding="1" BorderStyle="none" GridLines="None" >
    <Columns>         
        <asp:TemplateField HeaderText="" SortExpression="StatusImage" ItemStyle-Width="3%"> 
            <ItemTemplate>
                <asp:Image ID="Image1" ImageUrl='<%# "~/" + Eval("SingleImagePath") %>' runat="server" Width="15" />
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField SortExpression="Status" ItemStyle-Width="15%"> 
                <ItemTemplate>
                    <asp:Label runat="server" Text='<%# Eval("Description") %>' ID="lblDesc"></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
    </Columns>
</asp:GridView>